import request from '@/utils/request'

// 公告分页列表
export function annOunListPage(query) {
  return request({
    url: '/mannOun/annOunListPage',
    method: 'get',
    params: query
  })
}
// 公告新增
export function annOunADD(data) {
  return request({
    url: '/mannOun/annOunADD',
    method: 'post',
    data: data
  })
}

// 公告修改
export function annOunUpdate(data) {
  return request({
    url: '/mannOun/annOunUpdate',
    method: 'post',
    data: data
  })
}

// 公告更新状态
export function statusUpdate(data) {
  return request({
    url: '/mannOun/statusUpdate',
    method: 'post',
    data: data
  })
}

// 查看公告
export function annOunSee(query) {
  return request({
    url: '/mannOun/annOunSee',
    method: 'get',
    params: query
  })
}

// 删除公告
export function remove(query) {
  return request({
    url: '/mannOun/remove',
    method: 'get',
    params: query
  })
}



